//
//  CYBScorePushController.m
//  01-基本框架搭建
//
//  Created by apple on 16/9/4.
//  Copyright © 2016年 apple. All rights reserved.
//

#import "CYBScorePushController.h"
#import "CYBStatus.h"
#import "CYBStatusGroup.h"
#import "CYBStatusLabel.h"
#import "CYBStatusSwitch.h"

@interface CYBScorePushController ()

@end

@implementation CYBScorePushController

- (void)viewDidLoad {
    [super viewDidLoad];

    //第一组数据
    CYBStatus *item0 = [CYBStatusSwitch settingWithIcon:nil title:@"推送我的比赛时间"];
    CYBStatusGroup *group0 = [[CYBStatusGroup alloc] init];
    group0.items = @[item0];
    group0.footer = @"尾部标题1";
    [self.status addObject:group0];
    
    
    //第二组数据
    CYBStatus *item1 = [CYBStatusLabel settingWithIcon:nil title:@"开始时间"];
    CYBStatusGroup *group1 = [[CYBStatusGroup alloc] init];
    group1.header = @"头部标题1";
    group1.items = @[item1];
    [self.status addObject:group1];
    
    
    //第三组数据
    CYBStatus *item2 = [CYBStatusLabel settingWithIcon:nil title:@"结束时间"];
    CYBStatusGroup *group2 = [[CYBStatusGroup alloc] init];
    group2.items = @[item2];
    [self.status addObject:group2];
 
}




- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}


@end
